// 登录相关接口
import axios from '@/api/request/request'

// 分页查展馆信息
const getShowRoomPage = (option: any) => {
  return axios.post('/museum/showRoom/getShowRoomPage', {
    ...option
  })
}

// 查展馆信息列表
const getShowRoomList = (option: any) => {
  return axios.post('/museum/showRoom/getShowRoomList', {
    ...option
  })
}

// 添加展厅信息
const addShowRoom = (option: any) => {
  return axios.post('/museum/showRoom/addShowRoom', {
    ...option
  })
}

// 修改展厅信息
const updateShowRoom = (option: any) => {
  return axios.post('/museum/showRoom/updateShowRoom', {
    ...option
  })
}

// 删除展厅信息
const deleteShowRoom = (option: any) => {
  return axios.post('/museum/showRoom/deleteShowRoom', {
    ...option
  })
}

// 查询展厅信息
const getShowRoom = (option: any) => {
  return axios.post('/museum/showRoom/getShowRoom', {
    ...option
  })
}

export { getShowRoomPage, getShowRoomList, addShowRoom, updateShowRoom, deleteShowRoom, getShowRoom }
